CC = gcc
CFLAGS = -I../include
OBJS = main.o ../moudleA/student_manager.o ../moudleB/course_manager.o ../moudleC/log_manager.o
TARGET = main_program

all: $(TARGET)

$(TARGET): $(OBJS)
	$(CC) -o $(TARGET) $(OBJS)

main.o: main.c
	$(CC) $(CFLAGS) -c main.c

clean:
	rm -f $(OBJS) $(TARGET)
